﻿<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeFile="NoteAdd.aspx.cs"
    Inherits="Manage_NoteAdd" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css">

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <script language="vbscript">

	Function SaveFile(byval ContentHtml,byval ContentText,byval wordCount)
	Dim bolSubmit
	    bolSubmit = True
	    Form1.txtContentHtml.value = ContentHtml
	    Form1.txtContentText.value = ContentText
	End Function

    </script>

</head>
<body>
    <form id="Form1" runat="server">

    <script language="javascript" src="../common/javascript/calendar.js" type="text/javascript"></script>

    <div>
        <br />
        <table id="tabData" width="98%" border="0" align="center" cellpadding="2" cellspacing="1"
            class="table_table2">
            <tr>
                <td class="table_td3">
                    标题：
                </td>
                <td class="table_td2">
                    <input type="text" name="txtName" size="40" notnull="标题" invertedcomma="标题" />
                    <span style="color: #ff0000">(*)</span>
                </td>
            </tr>
            <tr>
                <td class="table_td3">
                    内容：
                </td>
                <td class="table_td2">
                    <iframe name="ifrPageEdit" width="100%" height="400" src="../PageEdit/PageEdit.htm">
                    </iframe>
                    <input type="hidden" name="txtContentHtml" notnull="内容" invertedcomma="内容" /><input
                        type="hidden" name="txtContentText" />
                    <span style="color: #ff0000">(*)</span>
                </td>
            </tr>
            <tr>
                <td class="table_td3">
                    发布时间：
                </td>
                <td class="table_td2">
                    <asp:TextBox runat="server" ID="txtAddDate" onclick="javascript:fPopCalendar(txtAddDate,txtAddDate);"
                        dataType="Date" format="ymd" require="true" msg="日期不存在" NotNull="发布时间" DateTimeOnly="发布时间"></asp:TextBox>
                    <span style="color: #ff0000">(*)</span>
                </td>
            </tr>
            <tr>
                <td class="table_td3">
                    <input type="submit" name="btnSubmit" id="btnSubmit" value="保  存" class="button_bg"
                        onclick="javascript:ifrPageEdit.SaveFile()" />
                </td>
                <td class="table_td2">
                    <input id="Button2" class="button_bg" type="button" value="关  闭" onclick="window.close()" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
